
CC=g++
#DEBUG=-g
DEBUG=-O2
CFLAGS=-I. $(DEBUG)
DEPS=graph.h main.h util.h solver.h aco.h
OBJ=graph.o main.o util.o solver.o aco.o
LIBS=-lm -lstdc++ -lpthread

.C.o:
	$(CC) -c $(DEBUG) $<

#%.o: %.C $(DEPS)
#	$(CC) $(CFLAGS) -c -o $@ $< 

floyd: $(OBJ)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

clean:
	rm -f *.o *~ core


